-
-
Notifications
You must be signed in to change notification settings - Fork 3k
feat: Add detailed character statistics tracking and visualization (@Amr-Shams) #7141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
* Introduce schema for granular character statistics. * Update to use new structure. * Modify to correctly process into DB format. * Adjust to pass for PB checks. * Refactor to handle updated structure safely. * Add ESLint plugins and workspaces configuration for monorepo setup.
* Add new UI section to display character-specific performance statistics. * Integrate Chart.js to visualize character error rates. * Display a sortable list of character statistics including error rates and counts. * Update result processing to handle new data structure. * Introduce utility for character data manipulation and analysis. * Add functionality to copy character statistics to clipboard.
Migrate character statistics handling to use object. - : Removed field. - : Added optional . - : Added optional , now array. - Updated frontend to utilize . - Updated backend to store .
Update the XP calculation logic in the backend to utilize the new field instead of the array.
- Replaces the character stats section with a 'miss / nail' display, showing the hardest and easiest characters. - The tooltip for 'miss / nail' now shows the error and success rates. - The character stats chart is now a grouped bar chart, showing correct and incorrect counts for each character. - The character stats list below the chart has been removed.
|
Continuous integration check(s) failed. Please review the failing check's logs and make the necessary changes. |
|
Continuous integration check(s) failed. Please review the failing check's logs and make the necessary changes. |
|
Continuous integration check(s) failed. Please review the failing check's logs and make the necessary changes. |
|
Continuous integration check(s) failed. Please review the failing check's logs and make the necessary changes. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
oh may god where have you been all my life |
stuck on a good commit msg |
try: |
|
side note, we should remove the stats related to the char if this one approved by the maintainers. for a backward compatibility we can make a mapping between the versions of the rs, |
|
Sorry, but i plan to implement this feature myself in a specific way. Im reworking some parts of the code to make this transition easier and to do it in a particular way. Next time get in touch before delevoping larger features to make sure they will be accepted. Sorry again. |
|
If that's the caae, i am more interested now, how can i communicate other than the email, is there a discord/slack. |

Description
This PR introduces detailed character statistics tracking and visualization to help users identify their strongest and weakest characters during typing tests.
Backend Changes
detailedCharStatsschema to track granular per-character statistics (correct/incorrect counts)detailedCharStatsfrom test datadetailedCharStatsfor backward compatibilityFrontend Changes
charStats.tsutility for character data manipulation and analysisTechnical Details
detailedCharStatsChecks
Closes #